﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Mongaba.Core.Enumerators;

namespace Mongaba.Core.DataContracts
{
    
    [DataContract(Name = "CoordinatorContract"),Serializable]
    internal class CoordinatorContract
    {        
        [DataMember(Name = "Id", IsRequired = true, Order = 0)]
        public string Id { get; set; }
                
        [DataMember(Name = "Status", IsRequired = true, Order = 1)]
        public CoordinatorStatus Status { get; set; }

        [DataMember(Name = "Address", IsRequired = true, Order = 2)]
        public string Address { get; set; }

        [DataMember(Name = "Group", IsRequired = true, Order = 3)]
        public GroupContract Group { get; set; }
      
    }
}
